import aa from '../components/cs.vue'

const routes = [
    {
        path:"/",
        component:aa,
        meta:{title:"主页"}
    },
    {
        path:"/404",
        component:"",
        meta:{title:'404'}
    }
]



import {createRouter,createWebHistory} from 'vue-router'

const router = createRouter({
    history:createWebHistory(),
    routes:routes
})


export default router
// router.beforeEach((to))